package main

import (
	"fmt"

	home "gitee.com/jimgo/sh3home/home"
)

func main() {
	// home.Do_steps()
	// home.Sym_main_1()
	const lll = 8
	var hexs_64_1 = [lll]uint64{0, 1, 3, 4, 5, 7, 2, 6}
	fmt.Println("\n2:")
	for i := 0; i < lll; i++ {
		fmt.Printf("%o,", home.S1N(hexs_64_1[i], 2))
	}
	fmt.Println("\n6:")
	for i := 0; i < lll; i++ {
		fmt.Printf("%o,", home.S1N(hexs_64_1[i], 6))
	}

	fmt.Println("\n<-->:")

	var hexs_64_2 = [lll]uint64{0, 4, 1, 5, 3, 7, 2, 6}
	fmt.Println("\n2:")
	for i := 0; i < lll; i++ {
		fmt.Printf("%o,", home.S1N(2, hexs_64_2[i]))
	}
	fmt.Println("\n6:")
	for i := 0; i < lll; i++ {
		fmt.Printf("%o,", home.S1N(6, hexs_64_2[i]))
	}

	fmt.Println("\n EOF")

}
